<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="lib/layui/css/layui.css"/>
    <title>Title</title>
    <style>
        .layui-form-pane .layui-form-label {
            width: 16em;
        }

    </style>
</head>
<body>
<div>
    <div style="text-align:center;padding-top:8px;">
        <div id="qrcode" style="width:224px;height:224px;margin:0 auto;display:inline-block;"/>
    </div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/qrcode.min.js"></script>
<script>
var queryObj=parseUrlParams()
var QR_CODE = new QRCode("qrcode", {
  width: 220,
  height: 220,
  colorDark: "#000000",
  colorLight: "#ffffff",
  correctLevel: QRCode.CorrectLevel.H,
});
QR_CODE.makeCode(JSON.stringify({
deviceId:queryObj.deviceid,
type:1
}));
</script>
</body>